import request from '@/utils/request'

// 查询机电设施经常检修列表
export function listJidiansheshijingchangjianxiu(query) {
  return request({
    url: '/biz/jidiansheshijingchangjianxiu/list',
    method: 'get',
    params: query
  })
}

// 查询机电设施经常检修详细
export function getJidiansheshijingchangjianxiu(id) {
  return request({
    url: '/biz/jidiansheshijingchangjianxiu/' + id,
    method: 'get'
  })
}

// 新增机电设施经常检修
export function addJidiansheshijingchangjianxiu(data) {
  return request({
    url: '/biz/jidiansheshijingchangjianxiu',
    method: 'post',
    data: data
  })
}

// 修改机电设施经常检修
export function updateJidiansheshijingchangjianxiu(data) {
  return request({
    url: '/biz/jidiansheshijingchangjianxiu',
    method: 'put',
    data: data
  })
}

// 删除机电设施经常检修
export function delJidiansheshijingchangjianxiu(id) {
  return request({
    url: '/biz/jidiansheshijingchangjianxiu/' + id,
    method: 'delete'
  })
}

// 导出机电设施经常检修
export function exportJidiansheshijingchangjianxiu(query) {
  return request({
    url: '/biz/jidiansheshijingchangjianxiu/export',
    method: 'get',
    params: query
  })
}